-- GENERATED SPELL FOR [Gan'zulah] --


function spell0_1061(pUnit, Event) --@Enrage,Self--
pUnit:FullCastSpellOnTarget(8599,pUnit)
pUnit:RegisterEvent('Sorts_1061', 608, 1)
end

function Sorts_1061(pUnit, Event)
local choix_sorts_1061 = math.random(0, 0)
if choix_sorts_1061 == 0 then
pUnit:RegisterEvent('spell0_1061', 1, 1)
end
end

function mob1061_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1061', math.random(1500, 3000), 1)
end

function mob1061_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1061_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1061_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1061, 1, 'mob1061_Action')
RegisterUnitEvent(1061, 2, 'mob1061_Leave')
RegisterUnitEvent(1061, 3, 'mob1061_Kill')
RegisterUnitEvent(1061, 4, 'mob1061_Die')
